 <html>  
<head>  
<title>test2</title>   
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/mynavbar.css">
<script src="js/bootstrap.min.js"></script>
<style>  
.col-center-block {  
    float: none;  
    display: block;  
    margin-left: auto;  
    margin-right: auto; 
	margin-top:80px;
}  

.top-navbar { //修改了bootstrap的默认
  position: relative;
  min-height: 50px;
  margin-bottom: 1px;
  background-color:#FFEC8B;  //修改了颜色
  background-image: url("../App_Themes/header.jpg");
  border: 1px solid transparent;
}
</style> 
 </head>  
 
<body  style="background-color:#FFEC8B">  
<div class="container">  
<div class="row">  
<nav class="top-navbar" role="navigation"> 
    <div>
		<a href="test2.html"><img src="img/logo.png" width=120 height=60></a> 
		<form class="navbar-form navbar-right" role="search">
			<div>
				<label for="search" class="control-label">站内搜索</label>
				<input type="text" class="form-control" placeholder="search">
				<button type="submit" class="btn btn-default">提交</button>
			</div>
		</form>		
    </div> 
</nav>
<nav class="navbar navbar-default" role="navigation"> 
    	<div class="container-fluid"> 
		<ul class="nav navbar-nav navbar-left">
			<li class="active"><a href="#">首页</a></li>
			<li><a href="#">心情</a></li>
			<li><a href="#">问问</a></li>
			<li><a href="#">找资源</a></li>
			<li><a href="#">讨论区</a></li>
			<li><a href="#">反馈</a></li>
		</ul>
		<ul class="nav navbar-nav navbar-right"> 
			<li><a href="#"><span class="glyphicon glyphicon-user"></span> 注册</a></li> 
			<li><a href="#"><span class="glyphicon glyphicon-log-in"></span> 登录</a></li> 
		</ul>
    </div> 
</nav>
<div class="col-xs-6 col-md-4 col-center-block ">  
	<h2 align="center">请登陆</h2>
	<br></br>
	<form class="form-horizontal "role="form">
	<fieldset>
	    <legend>健康信息</legend>
		<div class="form-group" class="mycenter">
			<label for="e-mail" class="col-sm-2 control-label">邮箱</label>
			<div class="col-xs-8">
				<input type="text" class="form-control" id="e-mail" placeholder="请输入名字" width="10">
			</div>
		</div>
		<div class="form-group">
			<label for="password" class="col-sm-2 control-label">密码</label>
			<div class="col-xs-8">
				<input type="text" class="form-control" id="password" placeholder="请输入姓">
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
			<div class="checkbox">
				<label><input type="checkbox">请记住我</label>
			</div>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-3 col-sm-12">
				<button type="login" class="btn btn-default">登录</button>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<button type="registe" class="btn btn-default">注册</button>		
			</div>
		</div>
	</fieldset>
	</form>

</div>
</div>
</div>
</body>  
</html>  